package model.mediators;

import java.awt.HeadlessException;

import javax.swing.JFrame;

public abstract class SimpleWindowedInteraction extends JFrame {

	// TODO DAN make sure this class is right!
	private InteractionMenuMediator parentMediator;


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	/**
	 * @param title
	 * @throws HeadlessException
	 */
	public SimpleWindowedInteraction(String title, InteractionMenuMediator parentMediator) throws HeadlessException {
		super(title);
		this.parentMediator = parentMediator;
		// TODO Auto-generated constructor stub
	}


	public InteractionMenuMediator getParentMediator() {
		return parentMediator;
	}


	public void setParentMediator(InteractionMenuMediator parentMediator) {
		this.parentMediator = parentMediator;
	}
	


}
